package com.koron.sinoprobe.web.ledger.service;

import com.koron.sinoprobe.web.ledger.bean.entity.SpDocument;
import com.koron.sinoprobe.web.ledger.bean.query.SpDocumentQuery;
import com.koron.sinoprobe.web.ledger.bean.vo.SpDocumentVO;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: SpDocumentService
 * @projectName GDH_EAM_V2
 * @description: 专项项目-项目文档service
 * @date 2021/12/149:17
 */
public interface SpDocumentService {

    SpDocument queryById(SessionFactory factory, String id);

    List<SpDocumentVO> queryList(SessionFactory factory, SpDocumentQuery query);

    SpDocument saveOrUpdate(SessionFactory factory, SpDocument bean);

    Boolean deleteById(SessionFactory factory, String id);
    
}
